package com.flyxiang.workflow.domain;

import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.flyxiang.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Map;

/**
 * 动态表单数据对象 wf_dynamic_data
 *
 * @author daojiang
 * @date 2024-11-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "wf_dynamic_data",autoResultMap = true)
public class WfDynamicData extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 表单数据
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private Map<String,Object> formData;

    /**
     * 业务状态（数据字典值）
     */
    private String status;


}
